<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>EaSoftCollege / <?php echo $this->getWindowTitle(); ?>            
        </title>
        <link href="<?php echo RELATIVE_PATH ?>css/style_site_v2.css" rel="stylesheet" type="text/css">     
        <link href="<?php echo RELATIVE_PATH ?>js_v2/menu/jquery.jdMenu.css" rel="stylesheet" type="text/css">
        <script type="text/javascript"  src="<?php echo RELATIVE_PATH ?>js_v2/jquery-1.5.min.js"></script>
        <script type="text/javascript" src="<?php echo RELATIVE_PATH ?>js_v2/menu/jquery.dimensions.js"></script>
        <script type="text/javascript" src="<?php echo RELATIVE_PATH ?>js_v2/menu/jquery.positionBy.js"></script>
        <script type="text/javascript" src="<?php echo RELATIVE_PATH ?>js_v2/menu/jquery.bgiframe.js"></script>
        <script type="text/javascript" src="<?php echo RELATIVE_PATH ?>js_v2/menu/jquery.jdMenu.js"></script>
        <script type="text/javascript" src="<?php echo RELATIVE_PATH ?>js_v2/app.js"></script>
        <script type="text/javascript">
            var app=app?app:{};
            app.imagesPath='<?php echo CORE_PATH ?>?module=ModImages&<?PHP echo AJAX_INDICATOR ?>=true';                             
            app.ajaxRequestPath='<?php echo CORE_PATH ?>?<?PHP echo AJAX_INDICATOR ?>=true&module=<?php echo $this->module != null ? $this->module->instanceName : ""; ?>';
            app.ajaxRequestPathSimple='<?php echo CORE_PATH ?>?<?PHP echo AJAX_INDICATOR ?>=true';
            app.requestPathSimple='<?php echo CORE_PATH ?>?module=<?php echo $this->module != null ? $this->module->instanceName : ""; ?>';
        
            
            function load($u){
                form=document.app;
                form.action=form.action+"?"+$u+"&meac=-2";               
                form.submit();
            } </script>
        <?php
        $this->getCssFiles();
        $this->getJsFiles();
        ?>
    </head>
    <body>
        <div id="header"><div class="item">
            <!--    <img src="img/mhotivologo.png" width="299" height="138" alt="mhotivo" longdesc="http://www.mhotivo.org" /> -->

            </div>
            <div class="item" id="item"><img src="img/easofttransparente.png" width="420" height="140" alt="easoft" longdesc="http://www.easoftware.net"></div>
        </div>
        <?php $usuario = $_SESSION[USUARIO]; ?>
        <div id="info_bar">            
            <div id="toolbar">
                <div class="item" id="usuario">Usuario: &nbsp; <strong><?php echo $usuario["usuario"]; ?></strong> &nbsp;</div>
                <div class="item" id="fecha">Fecha Sistema: &nbsp; <strong><?php echo date("d/m/Y"); ?></strong> &nbsp;</div>
                <div class="item_r" id="Salir">&nbsp; <strong><a onClick="return confirm('Esta seguro de salir?');" href="<?php echo CORE_PATH ?>?action=-1">Salir</a></strong> &nbsp;</div>
            </div>
            <div id="_menu">
                <div id="menu">
                    <?php $this->showMenu(); ?>
                </div>
            </div>
        </div>
        <div id="box_content">
            <div id="padding">
                <?php
                if ($this->module != null) {
                    $this->module->main();
                } else {
                    ?>
                    Bienvenido a SoftCollege v3.
                <?php } ?>
            </div>
        </div>
        <form name="app" action="<?php echo CORE_PATH; ?>" method="post" ></form>
        <div id="dialog-cargando" style="width: auto; height: auto; vertical-align: middle; text-align: center; display: none">
            <img alt="Cargando"  id="img-cargando" src='img/loading.gif' style="width: 100px; height: 100px" />
        </div>
    </body>    
</html>
